package com.jingxing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingxing.mapper.ReceivingRecordMapper;
import com.jingxing.pojo.ReceivingRecord;
import com.jingxing.service.ReceivingRecordService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ReceivingRecordServiceImpl extends ServiceImpl<ReceivingRecordMapper, ReceivingRecord> implements ReceivingRecordService {

    @Autowired
    private ReceivingRecordMapper receivingRecordMapper;

    @Override
    public List<ReceivingRecord> getReceivingRecords(String playerName, String prizeName) {
        return receivingRecordMapper.getReceivingRecords(playerName, prizeName);
    }
}
